﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using System.Configuration;
using System.Xml;

namespace FA_Server
{
    class Server
    {


        public static string GetSystemConnectionString()
        {
            try
            {
                return ConfigurationManager.ConnectionStrings["OracleConnectionString"].ConnectionString;
            }
            catch(Exception exception)
            {

              throw new Exception("读取系统连接字符串错误:" + exception.Message.Trim(), exception.InnerException);
            
            }
        }


    }
}
